
onEvent('recipes', (event) => {
    event.replaceInput({ type: 'minecraft:crafting_shapeless' }, '#minecraft:planks', 'immersiveengineering:treated_wood_horizontal');
    event.replaceInput({ mod: 'psi' }, '#minecraft:logs', '#forge:treated_wood');
    event.replaceInput({ mod: 'create' }, '#minecraft:logs', 'immersiveengineering:treated_wood_horizontal');
    //全部移除
    var AllRemove = [
        '#quark:crystal',
        'immersiveengineering:hammer',
        '#minecraft:planks',
        'emendatusenigmatica:enigmatic_hammer',
        '#minecraft:wooden_slabs',
        'atum:deadwood_log',
        'atum:stripped_deadwood_log',
        'torcherino:torcherino',
        'torcherino:compressed_torcherino',
        'torcherino:double_compressed_torcherino'
    ];

    AllRemove.forEach((i) => {
        event.remove({output: i });
        event.remove({input: i });
    });

    //输出移除
    var outRemove = [
        'minecraft:crafting_table',
        'minecraft:furnace',
        'minecraft:orange_stained_glass',
        'immersiveengineering:treated_wood_horizontal',
        'immersiveengineering:stick_treated',
        'immersiveposts:stick_copper',
        'create:andesite_alloy',
        'create:cogwheel',
        'create:large_cogwheel',
        'create:shaft',
        'minecraft:bucket',
        'create:water_wheel',
        'create:andesite_casing',
        'create:mechanical_press',
        '#forge:chests/trapped',
        'pneumaticcraft:omnidirectional_hopper',
        'thermal:bronze_dust',
        'immersiveengineering:cokebrick',
        'immersiveengineering:blastbrick',
        'immersiveengineering:alloybrick',
        'emendatusenigmatica:bronze_dust',
        '#forge:rods',
        'tconstruct:grout',
        'tconstruct:smeltery_controller',
        'astralsorcery:linking_tool',
        'ironchest:copper_chest',
        'ironchest:iron_chest',
        'create:windmill_bearing',
        'immersiveengineering:windmill_blade',
        'pneumaticcraft:liquid_compressor',
        'pneumaticcraft:advanced_liquid_compressor',
        'pneumaticcraft:air_compressor',
        'pneumaticcraft:advanced_air_compressor',
        'pneumaticcraft:reinforced_stone',
        'pneumaticcraft:pressure_tube',
        'pneumaticcraft:pressure_chamber_wall',
        'pneumaticcraft:pressure_chamber_interface',
        'pneumaticcraft:pressure_chamber_valve',
        'pneumaticcraft:pressure_gauge',
        'rftoolsbase:machine_frame',
        'thermal:machine_frame',
        'create:copper_sheet',
        'create:iron_sheet',
        'create:brass_sheet',
        'create:golden_sheet',
        'pneumaticcraft:refinery',
        'pneumaticcraft:printed_circuit_board',
        'pneumaticcraft:amadron_tablet',
        'farmingforblockheads:market',
        'create:mechanical_crafter',
        'quark:blaze_lantern',
        'minecraft:furnace_minecart',
        'pneumaticcraft:pneumatic_cylinder',
        'pneumaticcraft:pneumatic_dynamo',
        'immersiveengineering:rs_engineering',
        'immersiveengineering:light_engineering',
        'immersiveengineering:heavy_engineering',
        'thermal:machine_smelter',
        'thermal:machine_pulverizer',
        'thermal:machine_press',
        'refinedstorage:raw_basic_processor',
        'refinedstorage:raw_improved_processor',
        'refinedstorage:raw_advanced_processor',
        'extrastorage:raw_neural_processor',
        'refinedstorage:basic_processor',
        'refinedstorage:improved_processor',
        'refinedstorage:advanced_processor',
        'extrastorage:neural_processor',
        'refinedstorage:machine_casing',
        'refinedstorage:controller',
        'refinedstorage:cable',
        'refinedstorage:destruction_core',
        'refinedstorage:construction_core',
        'thermal:rf_coil',
        'thermal:rubber',
        'thermal:energy_cell_frame',
        'thermal:fluid_cell_frame',
        'thermal:machine_speed_augment',
        'thermal:upgrade_augment_1',
        'thermal:upgrade_augment_2',
        'thermal:upgrade_augment_3',
        'mekanism:steel_casing',
        'mekanism:basic_fluid_tank',
        'mekanism:basic_universal_cable',
        'mekanism:enrichment_chamber',
        'mekanism:basic_mechanical_pipe',
        'mekanism:basic_logistical_transporter',
        'mekanism:metallurgic_infuser',
        'mekanism:basic_control_circuit',
        'mekanism:alloy_infused',
        'mekanism:alloy_reinforced',
        'mekanism:crusher',
        'mekanism:energized_smelter',
        'mekanism:osmium_compressor',
        'mekanism:advanced_control_circuit',
        'mekanism:elite_control_circuit',
        'mekanism:ultimate_control_circuit',
        'refinedstorage:1k_storage_part',
        'refinedstorage:4k_storage_part',
        'refinedstorage:16k_storage_part',
        'refinedstorage:64k_storage_part',
        'ironchest:obsidian_chest',
        'minecraft:dirt',
        'mekanism:energy_tablet',
        'mekanism:enriched_redstone',
        'minecraft:redstone_ore',
        'mekanism:electrolytic_core',
        'cookingforblockheads:sink',
        'mekanism:cardboard_box',
        'modularrouters:item_router',
        'enderstorage:ender_chest',
        'enderstorage:ender_tank',
        'pneumaticcraft:turbine_blade',
        'mekanism:thermal_evaporation_block',
        'mekanism:chemical_dissolution_chamber',
        'mekanism:chemical_washer',
        'mekanism:chemical_crystallizer',
        'mekanism:chemical_dissolution_chamber',
        'mekanism:basic_chemical_tank',
        'mekanism:isotopic_centrifuge',
        'mekanismgenerators:turbine_blade',
        'mekanismgenerators:turbine_casing',
        'mekanismgenerators:fission_reactor_casing',
        'mekanismgenerators:reactor_glass',
        'mekanism:boiler_casing',
        'mekanismgenerators:saturating_condenser',
        'mekanismgenerators:control_rod_assembly',
        'mekanism:module_base',
        'mekanismgenerators:fission_fuel_assembly',
        'mekanism:pressure_disperser',
        'mekanism:alloy_atomic',
        'mekanism:pellet_polonium',
        'mekanism:sps_casing',
        'mekanism:quantum_entangloporter',
        'framedcompactdrawers:framed_half_one',
        'framedcompactdrawers:framed_half_two',
        'framedcompactdrawers:framed_half_four',
        'framedcompactdrawers:framed_drawer_controller',
        'framedcompactdrawers:framed_compact_drawer',
        'storagedrawers:upgrade_template',
        'compactvoidminers:void_miner',
        'compactvoidminers:void_pump',
        'minecraft:fishing_rod',
        'modularrouters:fast_pickup_augment',
        'draconicevolution:basic_crafting_injector',
        'draconicevolution:crafting_core',
        'draconicevolution:draconium_core',
        'draconicevolution:wyvern_energy_core',
        'draconicevolution:wyvern_core',
        'draconicevolution:wyvern_crafting_injector',
        'draconicevolution:awakened_crafting_injector',
        'draconicevolution:awakened_core',
        'fluxnetworks:flux_core',
        'draconicevolution:reactor_stabilizer',
        'draconicevolution:reactor_injector',
        'draconicevolution:reactor_core',
        'minecraft:clock',
        'darkutils:charm_gluttony',
        'torchmaster:megatorch',
        'create:goggles',
        'storagedrawers:controller',
        'storagedrawers:compacting_drawers_3',
        'modularrouters:placer_module',
        'mekanismgenerators:wind_generator',
        'pneumaticcraft:turbine_rotor',
        'mekanism:upgrade_speed',
        'mekanism:upgrade_energy',
        'mob_grinding_utils:tank',
        'thermal:lightning_charge',
        'create:schematic_and_quill',
        'elementalcraft:containedcrystal',
        'elementalcraft:infuser',
        'elementalcraft:evaporator',
        'evilcraft:box_of_eternal_closure',
        'evilcraft:corrupted_tear',
        'evilcraft:spirit_furnace',
        'minecraft:fire_charge',
        'thermal:ice_charge',
        'forbidden_arcanus:dark_matter',
        'evilcraft:blood_waxed_coal_block',
        'forbidden_arcanus:arcane_gold_ingot',
        'forbidden_arcanus:arcane_polished_darkstone',
        'forbidden_arcanus:arcane_chiseled_polished_darkstone',
        'evilcraft:bowl_of_promises_dusted',
        'botania:mana_pylon',
        'botania:gaia_pylon',
        'botania:aura_ring',
        'ars_nouveau:mana_jar',
        'projectred-core:copper_coil',
        'projectred-core:gold_coil',
        'immersiveengineering:circuit_table',
        'mekanism:ultimate_induction_provider',
        'mekanism:ultimate_induction_cell',
        'mekanism:basic_induction_cell',
        'mekanism:basic_induction_provider',
        'mekanism:advanced_induction_cell',
        'mekanism:advanced_induction_provider',
        'mekanism:elite_induction_cell',
        'mekanism:elite_induction_provider',
        'mekanism:teleportation_core',
        'mekanismmatter:trinium_reactor_casing'
        
  
        ////earth fire air water
        

    ];

    outRemove.forEach((i)=>{
        event.remove({output: i}); 
    });

    //id移除
    var idRmove = [
        /immersiveengineering:crafting\/plate_/,
        'pneumaticcraft:pressure_chamber/compressed_iron_ingot',
        'pneumaticcraft:pressure_chamber/compressed_iron_block',
        /immersiveengineering:crafting\/stick_/,
        'pneumaticcraft:pressure_chamber/empty_pcb',
        'pneumaticcraft:pressure_chamber/capacitor',
        'pneumaticcraft:pressure_chamber/transistor',
        'pneumaticcraft:pressure_chamber/coal_to_diamond',
        /immersiveengineering:crafting\/component_/,
        'immersiveengineering:cokeoven/coke_block',
        'immersiveengineering:blastfurnace/steel',
        'immersiveengineering:blastfurnace/steel_block',
        'refinedstorage:quartz_enriched_iron',
        'thermal:redstone_servo',
        /immersiveengineering:recycling\//,   
        'immersiveengineering:arcfurnace/steel',
        'immersivepetroleum:arcfurnace/steel',
        'thermal:compat/refinedstorage/smelter_refinedstorage_alloy_quartz_enriched_iron',
        /emendatusenigmatica:alloy_dust\//,
        'thermal:machine/smelter/smelter_alloy_signalum',
        'thermal:machine/smelter/smelter_cured_rubber',
        'mekanism:qio_drive_hyper_dense',
        'mekanism:qio_drive_time_dilating',
        /mekanism:factory\/basic\//,
        /mekanism:factory\/advanced\//,
        /mekanism:factory\/elite\//,
        /mekanism:factory\/ultimate\//,
        "mekanism:processing/uranium/hydrofluoric_acid",
        "mekanism:processing/uranium/hydrofluoric_acid_from_block",
        'mekanism:storage_blocks/steel',
        'thermal:machine/insolator/insolator_oak_sapling',
        /draconicevolution:tools\/wyvern_/,
        'draconicevolution:awakened_draconium_block',
        'draconicevolution:chaotic_crafting_injector',
        'tconstruct:smeltery/casts/gold_casts/gears',
        'tconstruct:smeltery/casts/sand_casts/gears',
        'tconstruct:smeltery/casts/red_sand_casts/gears',
        'thermal:machine/refinery/refinery_light_oil',
        'thermal:machine/refinery/refinery_heavy_oil',
        "mekanism:processing/lategame/antimatter_pellet/from_gas",
        "mekanism:processing/lategame/antimatter/from_pellet",
        "thermal:machine/crucible/crucible_redstone_block",
        "thermal:machine/crucible/crucible_redstone_dust",
        "thermal:machine/smelter/smelter_alloy_enderium",
        "create:mixing/chocolate",
        "mekanism:oxidizing/sulfur_dioxide",
        "mekanism:chemical_infusing/sulfuric_acid",
        "mekanismgenerators:separator/heavy_water",
        "mekanismgenerators:activating/tritium",
        "mekanism:processing/uranium/fissile_fuel",
        "mekanism:processing/uranium/reprocessing/to_fuel",
        "evilcraft:special/box_of_eternal_closure",
        "bloodmagic:altar/weakbloodorb",
        'elementalcraft:binding/pedestal_fire',
        'elementalcraft:binding/pedestal_earth',
        'elementalcraft:binding/pedestal_air',
        'elementalcraft:binding/pedestal_water',
        'rftoolsutility:environmental_controller',
        'rftoolsutility:crafter1',
        'elementalcraft:infusion/firecrystal',
        'elementalcraft:infusion/earthcrystal',
        'elementalcraft:infusion/aircrystal',
        'elementalcraft:infusion/watercrystal',
        'botania:apothecary_default',
        'manaliquidizer:mana_liquidizer',
        'botania:runic_altar',
        'atum:marl_to_ceramic',
        'pneumaticcraft:explosion_crafting/compressed_iron_ingot',
        'botania:elven_trade/elf_glass',
        'mekanism:processing/uranium/sulfuric_acid',
        "mekanism:evaporating/brine"



        





        


    ]; 

    //immersiveengineering:crafting/stick_aluminum


    idRmove.forEach((id) => {
        event.remove({ id: id });
    });

    
    
    var intRemove = [
        'minecraft:fire_charge',
        'mekanismmatter:universal_matter'
    ];

    intRemove.forEach((i)=>{
        event.remove({input: i});
    });


    event.remove({mod: 'waterstrainer'});
    //event.remove({mod : 'storagedrawers'});
    event.remove({ type: 'minecraft:crafting_shapeless', output: '#forge:dusts', mod: 'thermal' });
    event.remove({ type: 'minecraft:crafting_shapeless', output: '#forge:dusts', mod: 'immersiveengineering' });

    

    
});